package com.kingbi.system.user.model;

// default package

import java.util.HashSet;
import java.util.Set;


/**
 * UserModel entity. @author MyEclipse Persistence Tools
 */

public class UserModel  implements java.io.Serializable {


    // Fields    

     private String userId;
     private String userName;
     private String password;
     private String orgId;
     private String phone;
     private String mobile;
     private String email;
     private String remark;
     private String valid;
     private Set userRoleModels = new HashSet(0);


    // Constructors

    /** default constructor */
    public UserModel() {
    }

	/** minimal constructor */
    public UserModel(String userName, String password, String valid) {
        this.userName = userName;
        this.password = password;
        this.valid = valid;
    }
    
    /** full constructor */
    public UserModel(String userName, String password, String orgId, String phone, String mobile, String email, String remark, String valid, Set userRoleModels) {
        this.userName = userName;
        this.password = password;
        this.orgId = orgId;
        this.phone = phone;
        this.mobile = mobile;
        this.email = email;
        this.remark = remark;
        this.valid = valid;
        this.userRoleModels = userRoleModels;
    }

   
    // Property accessors

    public String getUserId() {
        return this.userId;
    }
    
    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return this.userName;
    }
    
    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return this.password;
    }
    
    public void setPassword(String password) {
        this.password = password;
    }

    public String getOrgId() {
        return this.orgId;
    }
    
    public void setOrgId(String orgId) {
        this.orgId = orgId;
    }

    public String getPhone() {
        return this.phone;
    }
    
    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getMobile() {
        return this.mobile;
    }
    
    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getEmail() {
        return this.email;
    }
    
    public void setEmail(String email) {
        this.email = email;
    }

    public String getRemark() {
        return this.remark;
    }
    
    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getValid() {
        return this.valid;
    }
    
    public void setValid(String valid) {
        this.valid = valid;
    }

    public Set getUserRoleModels() {
        return this.userRoleModels;
    }
    
    public void setUserRoleModels(Set userRoleModels) {
        this.userRoleModels = userRoleModels;
    }
   








}